import request from '@/utils/request'
import {getToken} from '@/utils/auth'
var token = getToken()
//员工列表
export function getStatisticalList(screenData,pageData) {
  // let newData = JSON.stringify(screenData)
  return request({
    url: '/st/page/'+pageData.pageNo+'/'+pageData.pageSize,
    method: 'post',
    headers:{'Content-Type':'application/json'},
    data:screenData
  })
}

export function getStatisticalMenuList() {
  return request({
    url: '/applet/menu/statistical',
    method: 'get',
  })
}
//
export function getStaffDetail(id) {
  return request({
    url: '/st/detail/'+id,
    method: 'get',
  })
}
export function getStaffAdd(data){
	return request({
		url:'/st/related',
		method: 'post',
		data
	})
}